package com.didispace.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
public class Ebook implements Serializable {

    private Long id;

    private String name;

    private String status;

    private String delete;

    private BigDecimal price;

    private Date createTime;

    private Date updateTime;

    public Ebook(String name, String status, String delete, BigDecimal price) {
        this.name = name;
        this.status = status;
        this.delete = delete;
        this.price = price;
    }

    public Ebook(String name, BigDecimal price) {
        this.name = name;
        this.status = status;
        this.delete = delete;
        this.price = price;
    }
}
